package com.k8s.consumer.controller;

import com.k8s.consumer.proxy.K8sProviderFeign;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @Author：小鹿爱吃鱼
 * @Date: 2025/5/13 11:27
 * @Description:
 */
@RestController
public class HelloController {

    @Autowired
    private K8sProviderFeign k8sProviderFeign;

    @GetMapping("/hello")
    public String hello() {
        return k8sProviderFeign.sayHello();
    }

}
